home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c++
- Subject: Re: problem with name mangling in BC4.5 ( extern "C" ? )
- Date: Thu, 25 Jan 1996 04:01:29 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4e6kok$ela@oxy.rust.net>
- References: <4e629n$bi4@access2.digex.net>
- NNTP-Posting-Host: liv-18.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- dave@access2.digex.net (Dave Eidman) wrote:
-
- >If anyone can shed some light on the following problem, I would appreciated it.
-
- >In Borland C++ 4.5,
- >
- > I am able to compile and execute the following example that comes from
- > Chap. 19 in the Petzold book "Programing Windows 3.1" using the
- > DOS command line,
-
- > bcc -c -ms! -w-par -P -W -2 strlib.c
-
- > But utilizing the IDE, I encounter the indicated errors when the code
- > attempts to turn off name mangling for exported functions.
-
- There are a couple of ways to handle this. The easiest is to change
- the name of strlib.c to strlib.cpp. The other is to dig down into the
- Tools menu in the IDE and change the default processor for files with
- an extension of .C from the C compiler to the C++ compiler.
-
- Earl Bennett
-
-
-